package com.shuyuntu.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "Th_USER")
public class User implements Serializable {

	private String userName;

	private int id;
	private String poss;

	@Column(name = "F_USER_NAME")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "F_ID")
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Column(name = "F_POSS")
	public String getPoss() {
		return poss;
	}

	public void setPoss(String poss) {
		this.poss = poss;
	}

	@Override
	public String toString() {
		return "User [userName=" + userName + ", id=" + id + ", poss=" + poss + "]";
	}

}
